package com.baofengtv.wake;

import android.app.Application;
import android.content.Context;

import com.baofengtv.wake.greendao.GreenDaoManager;

/**
 * Created by chenzhenxin on 2017/10/17.
 */

public class MyApplication extends Application {
    private static Context mContext;

    public static Context getContext() {
        return mContext;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = getApplicationContext();
        GreenDaoManager.getInstance().getSession();

    }
}
